package com.dominator.service;

import com.dominFramework.core.typewrap.Dto;
import com.dominator.socket.SocketMessage;
import com.dominator.utils.exception.ApiException;

public interface ApiWatchingMachineService {

    /**
     * 初始化
     * @param dto
     * @return
     * @throws ApiException
     */
    SocketMessage init(Dto dto) throws ApiException;


    /**
     * 通知扫物流码
     * @param dto
     * @return
     * @throws ApiException
     */
    SocketMessage notificationLogisticsCode(Dto dto) throws ApiException;




    /**
     * 扫物流码
     * @param dto
     * @return
     * @throws ApiException
     */
    SocketMessage subLogisticsCode(Dto dto) throws ApiException;


    /**
     * 通知主摄像头拍照
     * @param dto
     * @return
     * @throws ApiException
     */
    SocketMessage  notificationMainCameraShooting(Dto dto) throws ApiException;




    /**
     * 主相机通知拍照完毕
     * @param dto
     * @return
     * @throws ApiException
     */
    SocketMessage  mainShootingOver(Dto dto) throws ApiException;



    /**
     * 通知副摄像头拍照
     * @param dto
     * @return
     * @throws ApiException
     */
    SocketMessage  notificationSubCameraShooting(Dto dto) throws ApiException;


    /**
     * 副相机通知拍照完毕
     * @param dto
     * @return
     * @throws ApiException
     */
    SocketMessage  subShootingOver(Dto dto) throws ApiException;



}
